<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="a_vuejs/vue.global.js"></script>

</head>
<body>

<div id="app">
    <h3>v-if和v-show的区别</h3>
    <span v-if="isOk">不显示</span>
    <span v-show="isOk">不显示</span>
</div>

</body>

<script>
    Vue.createApp({
        data() {
            return {
                isOk:false
            }
        },
        methods: {}
    }).mount("#app")
</script>

</html>